import _ from 'lodash';
const urls = [
  { name: '仓库', url: 'http://git.cpt.local/base/frontend/frontend-scaffold' },
  { name: '主题库', url: 'http://git.cpt.local/base/frontend/cpt-themes' },
  { name: 'cpt-css', url: '' },
  { name: 'cpt-toolkit', url: '' },
  { name: 'vue', url: 'https://cn.vuejs.org/v2/guide/' },
  { name: 'vuex', url: 'https://vuex.vuejs.org/zh-cn/intro.html' },
  { name: 'iView', url: 'https://www.iviewui.com/docs/guide/install' },
  { name: 'Vue-Router', url: 'https://router.vuejs.org/zh-cn/' },
  { name: 'axios', url: 'https://github.com/mzabriskie/axios' },
  { name: 'vue-echarts', url: 'https://github.com/Justineo/vue-echarts' },
  { name: 'basscss', url: 'http://basscss.com/' }
];

export default {
  get() {
    return Promise.resolve({ success: true, data: _.clone(urls) });
  }
};
